﻿# 中文关键词列表
$keywords = @(
    "最新科技新闻", "Windows 11 使用技巧", "人工智能趋势",
    "天气预报", "美食推荐", "健身计划", "理财知识",
    "编程教程", "电影排行榜", "旅游胜地"
)

# 总共搜索10次，每次间隔 5 分钟
for ($i = 0; $i -lt 10; $i++) {
    $keyword = Get-Random -InputObject $keywords
    $url = "https://www.bing.com/search?q=$($keyword -replace ' ', '+')&form=QBLH&sp=-1&lq=0&pq=222&sc=12-3&qs=n&sk=&cvid=$([guid]::NewGuid().ToString().Replace('-', '').ToUpper())"

    Start-Process "msedge.exe" $url

    if ($i -lt 9) {
        Start-Sleep -Seconds 300  # 间隔 5 分钟
    }
}
